package com.biyesheji.dto;

import com.biyesheji.domain.Wares;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
public class WaresDto extends Wares {

    /**
     * 用输入的地址与民宿之间的距离
     */
    private String addressDistance;

    @Override
    public String toString() {
        return "WaresDto{" +
                "id=" + this.getId() +
                ", waresName='" + this.getWaresName() + '\'' +
                ", price=" + this.getPrice() +
                ", number=" + this.getNumber() +
                ", norms=" + this.getNorms() +
                ", image=" + this.getImage() +
                ", addressX=" + this.getAddressX() +
                ", addressY=" + this.getAddressY() +
                ", address=" + this.getAddress() +
                ", description=" + this.getDescription() +
                ", status=" + this.getStatus() +
                ", createTime=" + this.getCreateTime() +
                ", updateTime=" + this.getUpdateTime() +
                ", createPhone=" + this.getCreatePhone() +
                ", updateId=" + this.getUpdateId() +
                ", addressDistance='" + addressDistance + '\'' +
                '}';
    }
}
